/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package sokobantest;

import java.awt.Image;
import java.net.URL;
import javax.swing.ImageIcon;

/**
 *
 * @author bram
 */
public class Crate extends GameObject {
    
    public Crate(){
        URL loc = this.getClass().getResource("res/crate.png");
        System.out.println(loc);
        ImageIcon iia = new ImageIcon(loc);
        Image image = iia.getImage();
        this.setImage(image);   
    }
    
}
